package com.olympus.hermes.domain;

import com.olympus.hermes.common.support.AbstractEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author Mickey
 * @since 2021/2/1
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Table(name = "hermes_member")
public class Member extends AbstractEntity {

    private String nickname;

    private String username;

    private String password;

    private String phone;

    private String email;

    private Long defaultAddressId;

}
